-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(vault): postpone vault reference resolving on init_worker #12554
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bungle
changed the title
fix(vault): post-pone vault reference resolving on init_worker
fix(vault): postpone vault reference resolving on init_worker
Feb 12, 2024
bungle
force-pushed
the
fix/vault-init-worker
branch
4 times, most recently
from
February 13, 2024 08:58
eae2925
to
8f36975
Compare
bungle
force-pushed
the
fix/vault-init-worker
branch
from
February 13, 2024 15:50
8f36975
to
ab1f7f1
Compare
bungle
force-pushed
the
fix/vault-init-worker
branch
2 times, most recently
from
February 13, 2024 15:54
f25f212
to
dcea9f5
Compare
bungle
force-pushed
the
fix/vault-init-worker
branch
2 times, most recently
from
February 13, 2024 20:09
80d802d
to
020818d
Compare
bungle
added
backport release/3.5.x
cherry-pick kong-ee
schedule this PR for cherry-picking to kong/kong-ee
labels
Feb 13, 2024
bungle
force-pushed
the
fix/vault-init-worker
branch
from
February 14, 2024 08:27
020818d
to
62c6eb3
Compare
samugi
force-pushed
the
fix/vault-init-worker
branch
from
February 14, 2024 16:10
62c6eb3
to
80d059e
Compare
bungle
force-pushed
the
fix/vault-init-worker
branch
2 times, most recently
from
February 14, 2024 21:05
5dd048a
to
e8a4df4
Compare
samugi
reviewed
Feb 15, 2024
bungle
force-pushed
the
fix/vault-init-worker
branch
2 times, most recently
from
February 15, 2024 09:04
f4f02d2
to
fe44553
Compare
### Summary It was reported on KAG-2907 that existing LMDB database with secrets can lead to an error when resolving secrets on init worker: ``` resty/http.lua:74: API disabled in the context of init_worker_by_lua* stack traceback: [C]: in function 'co_create' ``` This fixes the issue. Signed-off-by: Aapo Talvensaari <[email protected]>
bungle
force-pushed
the
fix/vault-init-worker
branch
from
February 16, 2024 12:07
fe44553
to
83232f5
Compare
team-eng-enablement
added
author/community
PRs from the open-source community (not Kong Inc)
and removed
author/community
PRs from the open-source community (not Kong Inc)
labels
Feb 19, 2024
jschmid1
approved these changes
Feb 19, 2024
windmgc
approved these changes
Feb 20, 2024
github-actions bot
pushed a commit
that referenced
this pull request
Feb 20, 2024
### Summary It was reported on KAG-2907 that existing LMDB database with secrets can lead to an error when resolving secrets on init worker: ``` resty/http.lua:74: API disabled in the context of init_worker_by_lua* stack traceback: [C]: in function 'co_create' ``` This fixes the issue. Signed-off-by: Aapo Talvensaari <[email protected]> (cherry picked from commit 9a7498c)
Merged
3 tasks
Cherry-pick failed for Please cherry-pick the changes locally. git remote add upstream https://github.com/kong/kong-ee
git fetch upstream master
git worktree add -d .worktree/cherry-pick-12554-to-master-to-upstream upstream/master
cd .worktree/cherry-pick-12554-to-master-to-upstream
git checkout -b cherry-pick-12554-to-master-to-upstream
ancref=$(git merge-base 84cb1be01d8e9a241e8a2b3afd6d55bb184e605b 83232f50cb65a687f139c7767ef387c3ce10e853)
git cherry-pick -x $ancref..83232f50cb65a687f139c7767ef387c3ce10e853 |
Successfully created backport PR for |
github-actions bot
pushed a commit
that referenced
this pull request
Feb 20, 2024
### Summary It was reported on KAG-2907 that existing LMDB database with secrets can lead to an error when resolving secrets on init worker: ``` resty/http.lua:74: API disabled in the context of init_worker_by_lua* stack traceback: [C]: in function 'co_create' ``` This fixes the issue. Signed-off-by: Aapo Talvensaari <[email protected]> (cherry picked from commit 9a7498c)
Merged
3 tasks
Successfully created backport PR for |
windmgc
pushed a commit
that referenced
this pull request
Mar 5, 2024
### Summary It was reported on KAG-2907 that existing LMDB database with secrets can lead to an error when resolving secrets on init worker: ``` resty/http.lua:74: API disabled in the context of init_worker_by_lua* stack traceback: [C]: in function 'co_create' ``` This fixes the issue. Signed-off-by: Aapo Talvensaari <[email protected]> (cherry picked from commit 9a7498c)
windmgc
pushed a commit
that referenced
this pull request
Mar 5, 2024
### Summary It was reported on KAG-2907 that existing LMDB database with secrets can lead to an error when resolving secrets on init worker: ``` resty/http.lua:74: API disabled in the context of init_worker_by_lua* stack traceback: [C]: in function 'co_create' ``` This fixes the issue. Signed-off-by: Aapo Talvensaari <[email protected]> (cherry picked from commit 9a7498c)
tysoekong
pushed a commit
that referenced
this pull request
Apr 26, 2024
It was reported on KAG-2907 that existing LMDB database with secrets can lead to an error when resolving secrets on init worker: ``` resty/http.lua:74: API disabled in the context of init_worker_by_lua* stack traceback: [C]: in function 'co_create' ``` This fixes the issue. Signed-off-by: Aapo Talvensaari <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
cherry-pick kong-ee
schedule this PR for cherry-picking to kong/kong-ee
core/db
core/pdk
schema-change-noteworthy
size/L
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
It was reported on KAG-2907 that existing LMDB database with secrets can lead to an error when resolving secrets on init worker:
This fixes the issue by postponing the resolving to a timer.
Checklist
changelog/unreleased/kong
orskip-changelog
label added on PR if changelog is unnecessary. README.mdIssue reference
https://konghq.atlassian.net/browse/KAG-2907